<%= polaris_navigation do |navigation| %>
  <% navigation.with_section do |section| %>
    <% section.with_item(
      url: "#",
      label: "Home",
      icon: "HomeIcon",
      selected: true
    ) %>
    <% section.with_item(
      url: "#",
      label: "Orders",
      icon: "OrderIcon"
    ) %>
    <% section.with_item(
      url: "#",
      label: "Products",
      icon: "ProductIcon"
    ) do |item| %>
      <% item.with_sub_item(
        url: "#",
        label: "All products",
        selected: true
      ) %>
      <% item.with_sub_item(
        url: "#",
        label: "Inventory"
      ) %>
      <% item.with_sub_item(
        url: "#",
        label: "Disabled",
        disabled: true
      ) %>
    <% end %>
  <% end %>
<% end %>
